package com.cloud.logger.zchain.zchainserver.mongo;


import com.cloud.logger.zchain.zchainserver.entity.ZchainOrgnation;
import com.cloud.logger.zchain.zchainserver.entity.vo.ZchainOrgnationAndUserVo;

import java.io.Serializable;
import java.util.List;

/**
 * User: wcy
 * Date: 2017/11/2
 * Time: 11:29
 */
public interface ZchianOrgnationRepository extends BaseMongoRepository<ZchainOrgnation,Serializable> {


    List<ZchainOrgnation> findByParentId(String id);

    List<ZchainOrgnationAndUserVo> findOrgVoByParentId(String id);
}
